package com.shangdiao.sd_server.util;

import com.bcloud.msg.http.HttpSender;


public class MsgUtil {
	
	public static void sendMsg(String mobiles, String content){
		String uri = "http://222.73.117.158/msg/";//应用地址
		String account = "vip_sdkj";//账号
		String pswd = "Tch123456";//密码
		boolean needstatus = true;//是否需要状态报告，需要true，不需要false
		String product = null;//产品ID
		String extno = null;//扩展码
		 
		try {
			String returnString = HttpSender.batchSend(uri, account, pswd, mobiles, content, needstatus, product, extno);
			System.out.println("returnString>>>" + returnString + "<<<<");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	
	
}
